package models;

import java.io.Serializable;

/**
 * Created by Fpt-Shop on 12/26/13.
 */
public class Product implements Serializable {
    private static final long serialVersionUID=1L;
    private Integer id;
    private String name;
    private Integer price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public  String toString(){
        return "Product[id="+id+",name="+name+",price="+price+"]";
    }
}
